from coordinates import *

knp = 59615,73395
hknp = 240
op = 60980,69550
hop = 245
Dk = 3580
a = 10.93

x,y = fromPolarToXY(knp[0],knp[1],Dk,a)
D,d = fromXYToPolar(op[0],op[1],x,y)
#print D,d

z = 59980,78350,210

D,d = fromXYToPolar(op[0],op[1],z[0],z[1])
e = (z[2] - hop)/D*1000 
print D,d,e
